let aFn = require.resolve('module.exports/a.js', { paths: [process.cwd()] })
// let b = require('./b')
let file
if (aFn) {
  file = require(aFn)
}
// console.dir(file)
console.dir(require, { depth: null })
// console.log(file)
